#include "pushbutton.h"

PushButton::PushButton(QWidget *parent) : QPushButton(parent) {}

void PushButton::mouseReleaseEvent(QMouseEvent *e) {
    if (e->button() == Qt::RightButton)
        emit rightClicked();
    QPushButton::mouseReleaseEvent(e);
}
